import MockJs from 'mockjs'
import home from './mockData'


MockJs.mock(/\/gethome/, 'get', home.homeData)
MockJs.mock(/\/delete2/, 'post', home.deleteData)
MockJs.mock(/\/addhome/, 'post', home.addHomeData)
MockJs.mock(/\/updatehome/, 'post', home.updateHomeData)
MockJs.mock(/\/getfooter/, 'get', home.homeData)



import hesuan from './hesuan'
MockJs.mock(/\/na/, 'get', hesuan.na)
MockJs.mock(/\/delte/, 'post', hesuan.deletData)
MockJs.mock(/\/batchdelete/, 'post', hesuan.batchdelete)
    // tianjia 
MockJs.mock(/\/addhome/, 'post', hesuan.addHomeData)
MockJs.mock(/\/updatahome/, 'post', hesuan.updatahomeData)


import dm from './homeData'
//接口 分页gethome
MockJs.mock(/\/getasdasd/, 'get', dm.HomeData)
    //删除接口
MockJs.mock(/\/delhome1/, 'post', dm.delData)
    //添加接口
MockJs.mock(/\/searchhome1/, 'post', dm.seaData)
    //全部删除接口
MockJs.mock(/\/Alldelhome1/, 'post', dm.AlldelData)
    //保存
MockJs.mock(/\/savehome1/, 'post', dm.saveData)
    //修改
MockJs.mock(/\/updatehome1/, 'post', dm.updateData)

import hosp from './hospData.js'
import cmh from './cmhdata'
MockJs.mock(/\/hn/, 'get', hosp.hospData)
MockJs.mock(/\/delete/, 'post', hosp.deleteData)
MockJs.mock(/\/delAll/, 'post', hosp.deleteAll)
MockJs.mock(/\/addArr/, 'post', hosp.addArr)
MockJs.mock(/\/upDateArr/, 'post', hosp.upDateArr)
MockJs.mock(/\/getzsgc/, 'get', cmh.cmhData)
MockJs.mock(/\/delid/, 'post', cmh.delData)
MockJs.mock(/\/tjaddApi/, 'post', cmh.tjaddData)
    //修改
MockJs.mock(/\/getupdata:id/, 'post', cmh.updataData)
    // Mockjs.mock(/\/getTableData/,"get",disposeData.getTableData)



import disposeData from "./disposeData"

//获取数据接口

MockJs.mock(/\/getTableData/, "get", disposeData.getTableData)
    //删除数据接口
MockJs.mock(/\/delData/, "post", disposeData.delData)
    //批量删除接口
MockJs.mock(/\/batchDel/, "post", disposeData.batchDel)
    //添加接口
MockJs.mock(/\/addData/, "post", disposeData.addData)
    //修改接口
MockJs.mock(/\/modifyData/, "post", disposeData.modifyData)

MockJs.mock(/\/getTableData/, "get", disposeData.getTableData) ===
    MockJs.mock(/\/getTableData/, "get", disposeData.getTableData)
    //删除数据接口
MockJs.mock(/\/delData/, "post", disposeData.delData)
    //批量删除接口
MockJs.mock(/\/batchDel/, "post", disposeData.batchDel)
    //添加接口
MockJs.mock(/\/addData/, "post", disposeData.addData)
    //修改接口
MockJs.mock(/\/modifyData/, "post", disposeData.modifyData)

MockJs.mock(/\/getTableData/, "get", disposeData.getTableData)


// 预约体检数据
import Phy from './phy'

MockJs.mock(/\/phydata/, 'get', Phy.phyHomeDate)
MockJs.mock(/\/phyUpdata/, 'post', Phy.PhyEditData)
MockJs.mock(/\/phyBody/, 'get', Phy.PhyBodyData)
MockJs.mock(/\/phyBlood/, 'get', Phy.PhyBloodData)